<?php
$password = $this->formPassword('password', '', array());
$password2 = $this->formPassword('password2', '', array());
$btnButton = $this->formSubmit('submit', 'Cập nhật', array('class'=>'blue_button'));
$user_id = $this->formHidden("user_id", $this->user_id, array());
$guid = $this->formHidden("guid", $this->guid, array());
?>
<div class="deal">
	<div class="deal_content_top"></div>
		<div class="deal_content">
		<?php if(count($this->errors) > 0 || count($this->notifies) > 0): ?>
			<div class="ui-widget">
				<div class="ui-state-highlight ui-corner-all" style="padding: 0 .7em;">
				<?php foreach($this->errors as $error): ?> 
					<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
					<?php echo $error ?></p>    
				<?php endforeach ?>
				<?php foreach($this->notifies as $notify): ?> 
					<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
					<?php echo $notify ?></p>    
				<?php endforeach ?>
				</div>
			</div>
		<?php endif ?>
	    <form id="reset-form" action="<?php echo $this->url(array("module" => "user", "controller" => "account", "action" => "resetpost")) ?>" method="post">
			
			<table class="table">
				<tr>
					<td class="column_left">Mật khẩu</td>
					<td class="column_right"><?php echo $password ?></td>
				</tr>
				<tr>
					<td class="column_left">Xác nhận</td>
					<td class="column_right"><?php echo $password2 ?></td>
				</tr>
				<tr>
					<td class="column_left">&nbsp;</td>
					<td class="column_right"><?php echo $btnButton ?></td>
	            </tr>
	        </table>
	        
	        <?php echo $user_id; ?>
	        <?php echo $guid; ?>
	    </form>
	        
        </div>        
	<div class="deal_content_bottom"></div>
</div>